do not rely on a tempfile tool
authorØyvind Kolås <ok@src.gnome.org>
Tue, 6 Jun 2006 19:03:26 +0000 (19:03 +0000)
committerØyvind Kolås <ok@src.gnome.org>
Tue, 6 Jun 2006 19:03:26 +0000 (19:03 +0000)
ChangeLog
docs/Makefile.am

index dafe5b3b6783d30931f164b0c7119605d8ec4a9e..09aa39141f9f93b0b05c54af017570b3262e1966 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-06  Øyvind Kolås  <pippin@gimp.org>
+
+       * docs/Makefile.am: Do not rely that a command calle tempfile exists.
+
 2006-06-05  Øyvind Kolås  <pippin@gimp.org>
 
        * extensions/gegl-fixups.c: A babl extension to make the testing of
index 38e6f195d6b72641f8e9a744eed88ec909790ee4..becd722cfec5acd3dd132c5f960c2f984df3fa17 100644 (file)
@@ -48,7 +48,7 @@ index.html: index-static.html                    \
            Makefile.am
        echo -n "HTML: $@"
        cp $< $@ 
-       (TMPFILE=`tempfile`;\
+       (which tempfile && TMPFILE=`tempfile` || TMPFILE="/tmp/babl_build_tempfile" ;\
        export BABL_PATH="$(top_builddir)/extensions"; $(top_builddir)/tests/babl_html_dump > $$TMPFILE;\
        $(top_srcdir)/docs/tools/xml_insert.sh $@ BablBase $$TMPFILE;\
        rm -f $$TMPFILE )